package com.example.blew.omp.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blew.omp.system.model.ReturnModel;
import com.example.blew.omp.system.model.form.UserForm;
import com.example.blew.omp.system.model.po.User;

public interface UserService extends IService<User> {
    /***
     *
     * 保存
     *
     * @return
     * @param userForm
     */
    Boolean save(UserForm userForm);

    /***
     * 修改
     *
     * @return
     */
    Boolean updateById();

    ReturnModel login(UserForm userForm);

    User checkToken(String token);
}
